<?php $this->widget('application.components.AdminMenu',array('nameId'=>'partners')); ?>
<!-- Subheader -->			
<div id="subheader" class="clearfix">
	<h2>Партнеры</h2>
	<a href="#"><span>Cancel</span></a>
</div>
<!-- /End Subheader -->

<!-- Main Content Area -->			
<div style="height: max-height;" id="content">
	
	<div id="inner">
	<?php echo CHtml::form('/admin/qpartners/add/','post',array('enctype'=>'multipart/form-data')); ?>
	    <ul>
			<li>
				<!-- Large Text Input -->
				<?php echo CHtml::activelabelEx($partners,'text',array("label"=>'Название партнера','for'=>'large input')); ?>
				<?php echo CHtml::activetextField($partners,'text',array('class'=>'large')); ?> 			
				<?php echo CHtml::error($partners,'text'); ?>
			</li>

			
		    
			<!-- Begin List -->
			<div class="grid_6">
			
			
			 <li>	
				<?php echo Chtml::activelabelEx($partners,'image',array('label'=>"Картинка:",'for'=>'news')); ?>	
				<?php echo CHtml::activeFileField($partners, 'image'); ?>
				<?php echo Chtml::error($partners,'image'); ?>
			
			</li>
			
			</div>
			
			<!-- Buttons -->
			<div class="grid_6">
				<label for="button news">Сохранить:</label>
			    <input type="submit" name="news" value="Сохранить" class="button_white" />
			</div>
			<!-- end btn -->
			
		</ul>
	<?php echo CHtml::endForm(); ?>
	    <?php $this->widget('application.components.File'); ?>
	</div>
</div>
<!-- End Content Area -->
